//
//  StudioAuthorizationTool.h
//  FHWealth
//
//  Created by fh on 2018/10/29.
//  Copyright © 2018年 admin. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface StudioAuthorizationTool : NSObject

/**
 相机是否可以用
 */
+ (BOOL)isAvailableWithCamera;

/**
 异步判断相机权限：是否可用
 */
+ (void)asyncJudgeAvailableWithCamera:(void(^)(BOOL cameraIsAvailable, BOOL cameraIsManual, NSString *cameraAvailableInfo))completeBlock;

/**
 麦克风是否可以用
 */
+ (BOOL)isAvailableWithMic;

/**
 异步判断麦克风权限：是否可用
 */
+ (void)asyncJudgeAvailableWithMic:(void(^)(BOOL micIsAvailable, BOOL micIsManual, NSString *micAvailableInfo))completeBlock;

/**
 相册是否可以用
 */
+ (BOOL)isAvailableWithPhotoLibrary;

/**
 异步判断相册权限：是否可用
 */
+ (void)asyncJudgeAvailableWithPhotoLibrary:(void(^)(BOOL photoLibraryIsAvailable, BOOL photoLibraryIsManual, NSString *photoLibraryAvailableInfo))completeBlock;


@end
